<?php

namespace server\dao;

use Yii;

/**
 * This is the model class for table "user".
 *
 * @property string|null $id
 * @property string|null $username
 * @property string|null $auth_key
 * @property string|null $password_hash
 * @property string|null $mobile
 * @property string|null $gender
 * @property string|null $email
 * @property string|null $head_thumb
 * @property string|null $password_reset_token
 * @property string|null $status
 * @property string|null $created_at
 * @property string|null $updated_at
 * @property string|null $verification_token
 */
class tesUser extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'user';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['id', 'username', 'auth_key', 'password_hash', 'mobile', 'gender', 'email', 'head_thumb', 'password_reset_token', 'status', 'created_at', 'updated_at', 'verification_token'], 'string', 'max' => 255],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'username' => 'Username',
            'auth_key' => 'Auth Key',
            'password_hash' => 'Password Hash',
            'mobile' => 'Mobile',
            'gender' => 'Gender',
            'email' => 'Email',
            'head_thumb' => 'Head Thumb',
            'password_reset_token' => 'Password Reset Token',
            'status' => 'Status',
            'created_at' => 'Created At',
            'updated_at' => 'Updated At',
            'verification_token' => 'Verification Token',
        ];
    }
}
